using System.Threading.Tasks;
using JTTD.Domain.Dtos;
using JTTD.Domain.Dtos.WeiXin;

namespace JTTD.Domain.IService
{
    public interface IWeiXinService
    {
        Task<ApiResult<OAuthToken>> GetAccessToken(string code);
        
        Task<ApiResult<WXOAuthUserInfo>> GetWXOAuthUserInfo(string accessToken, string openId);
    }
}